package com.project.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (InsuranceTravel)实体类
 *
 * @author makejava
 * @since 2023-02-14 14:37:08
 */
 @Data
 @AllArgsConstructor
 @NoArgsConstructor
public class InsuranceTravel implements Serializable {
    private static final long serialVersionUID = -26925339939052809L;
    /**
     * 保单id
     */
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    /**
     * 投保人姓名
     */
    private String policyholderName;
    /**
     * 投保人手机号
     */
    private String policyholderPhonenumber;
    /**
     * 投保人证件类型
     */
    private String policyholderDocumenttype;
    /**
     * 投保人证件号码
     */
    private String policyholderIdcardnumber;
    /**
     * 被保人姓名
     */
    private String insuredName;
    /**
     * 被保人手机号
     */
    private String insuredPhonenumber;
    /**
     * 被保人证件类型
     */
    private String insuredDocumenttype;
    /**
     * 被保人证件号码
     */
    private String insuredIdcardnumber;
    /**
     * 投保人与被保人关系
     */
    private String relationship;
    /**
     * 保单金额
     */
    private Integer insuranceamount;
    /**
     * 保单开始日期
     */
    private Date insurancestarttime;
    /**
     * 保单截至日期
     */
    private Date insuranceendtime;
    /**
     * 保单状态
     */
    private Integer insurancestatus;
    /**
     * 被保人年龄
     */
    private Integer insuredage;
    /**
     * 被保人职业
     */
    private String insuredprofession;
    /**
     * 目的城市
     */
    private String intendedcity;
    /**
     * 图片地址
     */
    private String insuranceaddress;

    public InsuranceTravel(String policyholderName, String policyholderPhonenumber, String policyholderDocumenttype, String policyholderIdcardnumber, String insuredName, String insuredPhonenumber, String insuredDocumenttype, String insuredIdcardnumber, String relationship, Integer insuranceamount, Date insurancestarttime, Date insuranceendtime, Integer insurancestatus, Integer insuredage, String insuredprofession, String intendedcity, String insuranceaddress) {
        this.policyholderName = policyholderName;
        this.policyholderPhonenumber = policyholderPhonenumber;
        this.policyholderDocumenttype = policyholderDocumenttype;
        this.policyholderIdcardnumber = policyholderIdcardnumber;
        this.insuredName = insuredName;
        this.insuredPhonenumber = insuredPhonenumber;
        this.insuredDocumenttype = insuredDocumenttype;
        this.insuredIdcardnumber = insuredIdcardnumber;
        this.relationship = relationship;
        this.insuranceamount = insuranceamount;
        this.insurancestarttime = insurancestarttime;
        this.insuranceendtime = insuranceendtime;
        this.insurancestatus = insurancestatus;
        this.insuredage = insuredage;
        this.insuredprofession = insuredprofession;
        this.intendedcity = intendedcity;
        this.insuranceaddress = insuranceaddress;
    }
}
